require(["common", "jQuery", "coAjax", "href", "hash_routie"], function(jSouper, $, coAjax, href, hash_routie) {
	hash_routie.on("shoppinguide", function() {
		coAjax.get(appConfig.user.guide_list, function(result) {
			console.log(result.result);
			App.set("$Cache.user.guide_list", result.result);
		});
		App.set("$Event.user.guide.weishenqingduihuan_to_shenqingduihuanzhong", function(e, vm) {
			coAjax.put(appConfig.user.guide_weishenqingduihuan_to_shenqingduihuanzhong, {
				bus_id: vm.get("bus_id")
			}, function(result) {
				console.log(result.result);
				vm.set(result.result);
			})
		});
		App.set("$Ev ent.user.guide.shangjiayijingfukuan_to_yonghuquerenfukuan", function(e, vm) {
			coAjax.put(appConfig.user.guide_shangjiayijingfukuan_to_yonghuquerenfukuan, {
				bus_id: vm.get("bus_id")
			}, function(result) {
				console.log(result.result);
				vm.set(result.result);
			})
		});
	});
});